package com.ruoyi.system.service;

import com.ruoyi.system.domain.SysUserJudges;

/**
 * 教师邀请信息
 */
public interface SysUserJudgesService {
    /**
     *  发送邀请生成一条教师邀请信息
     */
    public void saveSysUserJudgesMapper(SysUserJudges sysUserJudges);

    /**
     * 修改邀请状态为已接受
     */
    public void updateStateAccept(Integer jid);

    /**
     * 修改邀请状态为已拒绝
     */
    public void updateStateRefuse(Integer jid);

    //批量添加用户成为评委
    Integer insertSysUserJudges(String userIds, Integer epid, String epstage);
    //批量添加老师成为评委
    Integer invokeTeacherToJudges(String teacherIds, Integer epid, String epstage);

    //根据id 删除评委
    Integer deleteByJid(Integer jid);
}
